import request from "@/utils/request";
import { BASE_URL, HR_API, APPID, REDIRECT_URI } from "@/settings";
// 查询
export function companyUnits(companyUnitsId) {
  return request({
    url: `${BASE_URL}/recruit2/api/v1/companyUnits/${companyUnitsId}`,
    method: "get"
  });
}
// 查询公司在招职位
export function listAllByIsCancel(companyUnitsId, data) {
  return request({
    url: `${BASE_URL}/recruit2/api/v1/recruitInfos/getPostCountByCompanyUnitsId/${companyUnitsId}`,
    method: "get",
    data
  });
}
